// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "LogMan",
    products: [
        .library(
            name: "LogMan",
            targets: ["LogMan"]
        ),
    ],
    dependencies: [
        .package(url: "https://gitee.com/jiucaishuo/swift-log.git", from: "1.0.0"),
        .package(url: "https://gitee.com/jiucaishuo/Standard.git", from: "1.4.2"),
    ],
    targets: [
        .target(
            name: "LogMan",
            dependencies: [
                .product(name: "Logging", package: "swift-log"),
                .product(name: "Standard", package: "Standard"),
            ]
        ),
        .testTarget(
            name: "LogManTests",
            dependencies: ["LogMan"]
        ),
    ]
)
